package cn.btks.resultintegration.rule.repository;

import cn.btks.resultintegration.rule.pojo.EcologyArea;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/2/19 10:39
 */
@Repository
public interface EcologyAreaRepository extends JpaRepository<EcologyArea,Long> {

    /**
     * 根据团查询生态功能区列表
     * @param county
     * @return
     */
    List<EcologyArea> findAllByCounty(String county);
}
